<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{%$type.typename%} - {%$lngpack.sitename%}</title>
<meta name="keywords" content="{%$lngpack.keyword%}" />
<meta name="description" content="{%$lngpack.description%}" />
<link href="/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery-1.js"></script>
<script>
    function checkSubmit(form) {
        var loginUser = form.login.value;
        var passwd = form.password.value;
        if(loginUser == "" || passwd == "") {
            alert("UserNumber or password can not empty.");
            return false;
        }
		var patrn=/^[0-9]{6}$/;  
		if(!patrn.exec(loginUser)) {
			alert("UserNumber length only for 6 figures");
			return false;
		}

        return true;
    }

	function checkSubmit1(form) {
        var loginUser = form.login.value;
        var passwd = form.password.value;
        if(loginUser == "" || passwd == "") {
            alert("UserNumber or password can not empty.");
            return false;
        }
        return true;
    }
    
</script>
</head>

<body>
<div class="all">
	{%link file="en/public/head.html"%}

        
        <div class="content">
        	<h2 class="title">{%$type.typename%}</h2>
            <div class="down_list">
                <form name="regularForm" action="index.php?ac=form&at=list&fgid=7" method="post" onsubmit="return checkSubmit(this);">
                    <div class="con_text">General Members:</div>
                    <div class="con_text" style="margin-left: 25px;">
                         AccountNumber:<input type="text" name="login" size="10" value="" />
                         Password:<input type="password" name="password" size="10" value="" />
                         <input type="submit" name="login_ok" value="Submit"/>
                    </div>
               </form>
               <form name="specialForm" action="index.php?ac=form&at=list&fgid=8" method="post" onsubmit="return checkSubmit1(this);">
                   <div class="con_text">Premire Members:</div>
                    <div class="con_text" style="margin-left: 25px;">
                        Member ID:<input name="login" type="text" size="10" value="" />
                        Password:<input name="password" type="password" size="10" value="" />
                        <input type="submit" value="Submit"/>
                    </div>
               </form>
            </div>
        
        </div>
        
{%link file="en/public/footer.html"%}	

</div>


</body>
</html>
